<?php
class CUserBehavior extends CBehavior {
	
	public function events() {
		return array_merge(parent::events(), array(
			'onBeforeLogin'=>'beforeLogin',
			'onAfterLogin'=>'afterLogin',
			'onBeforeLogout'=>'beforeLogout',
			'onAfterLogout'=>'afterLogout',
		));
	}
	
	public function beforeLogin(CUserEvent $event) {
	}
	
	public function afterLogin(CEvent $event) {
	}
	
	public function beforeLogout(CUserEvent $event) {
	}
	
	public function afterLogout(CEvent $event) {
	}

}

?>